package com.lanyun.oss;

import com.lanyun.oss.config.StorageConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author Jqcc
 * @Version 1.0
 * @Data ${DATE}
 */
@SpringBootApplication
@EnableConfigurationProperties(StorageConfig.class)
@ComponentScan("com.lanyun.oss.*")
@MapperScan("com.nuoyan.oss.dao")
public class OssApplication {
    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class, args);
    }
}